package com.jcgyl.export.model;

public enum ResultCode {
	SUCCESS(0, "请求成功"), WEAK_NET_WORK(-1, "网络异常，请稍后重试"), PASSWORD_ERROR(10001, "用户名或密码错误"), PARAMETER_ERROR(10101,
			"参数错误"), SERVER_INTERNAL_ERROR(500, "系统内部错误");

	private int code;
	private String msg;

	ResultCode(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
}
